package pers.vicxu.mvcrestplus.dto;

import pers.vicxu.mvcrestplus.pojo.Book;

import java.io.Serializable;

/**
 * Create by Vic Xu on 7/25/2018
 *
 * @author Vic Xu
 */
public class ResponseMsg implements Serializable {

    private String msg;

    private String id;

    private Book book;

    public ResponseMsg() {
    }

    public ResponseMsg(String msg) {
        this.msg = msg;
    }

    public ResponseMsg(String msg, String id) {
        this.msg = msg;
        this.id = id;
    }

    public ResponseMsg(String msg, Book book) {
        this.msg = msg;
        this.book = book;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Book getBook() {
        return book;
    }

    public void setBook(Book book) {
        this.book = book;
    }
}
